es-fid-common-b2b-xapi
Telepets - Validations
Validations
- Policy Number:
- Mandatory
- Length = 10
- Has to start with "46"
- The other "8" digits converted to an integer must be migger than 0
- Example: Cannot be 4600000000
- GuaranteeType:
- Mandatory
- Length = 3
- Includes guarantees and sub-guarantees
- If any of the sub-guarantees are used, must override the guarantee in the value of this attribute
- Example: if we use the sub-guarantee > Orientaci贸n Veterinaria (web/chat) (610) that will be associated to Telepet guarantee (600), therefore the attribute should be "GuaranteeType: '610'
- Must be one of the following values (bold):
Guarantees
- Telepet: 600
- Pet assitencia: 700
Sub-guarantees
- Orientaci贸n Veterinaria (web/chat): 610
- Env铆o veterinario: 710
- Env铆o Medicamentos: 720
- Regreso anticipado tomador: 730
- Transporte de urgencia: 740
- Organizaci贸n servicio funerario: 750
- Consulta Petfriendly: 760
- PetFriendlyType:
- Mandatory, only if guaranteeType= /760 (Consulta Petfriendly)
- Must not have any value, if guranteeType is not 760
- Must be one of the values bellow
Consulta PetFriendly:
- Hoteles
- Residencias Caninas
- Camping
- Protectoras
- Peluquer铆a canina
- Cuidadores Paseadores
- Playas
- Restaurantes
- Comidas
- Apps y Webfriendly
- Terapias para mascotas
- Agility
- Otros
- TelepetServiceType:
- Mandatory only if the guaranteeType equals to 610(Orientaci贸n Veterinaria (web/chat))
- Must not have any value, if the guaranteeType does not equal to 610
- Must be one of the following values:
Consulta Telepet
- Llamada telefonica
- Chat Web y App
- Video consulta veterinario Web y App
OccurenceDate
- Mandatory
- Format: yyyy-mm-dd
Situation
- Mandatory
- Must be one of the following values:
- 1 | Abierto
- 3 | En curso
- 5 | Cerrado
- 6 | Reapertura
- 7 | Rechazo en apertura
- 8 | Rechazado en confirmaci贸n
- 9 | Cierro contable
Optional fields
- PhoneNumber
- Only digits and maximum 9 digits
- ClaimDescription
- Maximum 200 characters
- Comments
- Maximum 500 characters
IMPORTANT
The HTTP 400 - Bad request response will be delivered if any of the following validations fails